import type { IContentConfig } from '@/components/page-content/type'

const contentConfig: IContentConfig = {
  pageName:'system/role',
  header: {
    title: '角色列表',
    btnTitle: '新增角色',
  },
  hasTableSelection: true,
  hasTableIndex: true,
  tableItems: [
    {
      label: 'ID',
      prop: 'id'
    },
    {
      label: '角色名称',
      prop: 'name'
    },
    {
      label: '状态(启用/停用)',
      prop: 'status',
      slotName: 'status'
    },
    {
      label: '操作',
      prop: 'action',
      slotName: 'action'
    }
  ]
}

export default contentConfig
